3.290 \(\int \frac {\sec ^4(e+f x)}{(a+b \sec ^2(e+f x))^{5/2}} \, dx\)

Optimal. Leaf size=79 \[ \frac {2 \tan (e+f x)}{3 f (a+b)^2 \sqrt {a+b \tan ^2(e+f x)+b}}+\frac {\tan (e+f x) \sec ^2(e+f x)}{3 f (a+b) \left (a+b \tan ^2(e+f x)+b\right )^{3/2}} \]

[Out]

2/3*tan(f*x+e)/(a+b)^2/f/(a+b+b*tan(f*x+e)^2)^(1/2)+1/3*sec(f*x+e)^2*tan(f*x+e)/(a+b)/f/(a+b+b*tan(f*x+e)^2)^(
3/2)

________________________________________________________________________________________

Rubi [A]  time = 0.09, antiderivative size = 79, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {4146, 378, 191} \[ \frac {2 \tan (e+f x)}{3 f (a+b)^2 \sqrt {a+b \tan ^2(e+f x)+b}}+\frac {\tan (e+f x) \sec ^2(e+f x)}{3 f (a+b) \left (a+b \tan ^2(e+f x)+b\right )^{3/2}} \]

Antiderivative was successfully verified.

[In]

Int[Sec[e + f*x]^4/(a + b*Sec[e + f*x]^2)^(5/2),x]

[Out]

(Sec[e + f*x]^2*Tan[e + f*x])/(3*(a + b)*f*(a + b + b*Tan[e + f*x]^2)^(3/2)) + (2*Tan[e + f*x])/(3*(a + b)^2*f
*Sqrt[a + b + b*Tan[e + f*x]^2])

Rule 191

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(x*(a + b*x^n)^(p + 1))/a, x] /; FreeQ[{a, b, n, p}, x] &
& EqQ[1/n + p + 1, 0]

Rule 378

Int[((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> -Simp[(x*(a + b*x^n)^(p + 1)*(c
 + d*x^n)^q)/(a*n*(p + 1)), x] - Dist[(c*q)/(a*(p + 1)), Int[(a + b*x^n)^(p + 1)*(c + d*x^n)^(q - 1), x], x] /
; FreeQ[{a, b, c, d, n, p}, x] && NeQ[b*c - a*d, 0] && EqQ[n*(p + q + 1) + 1, 0] && GtQ[q, 0] && NeQ[p, -1]

Rule 4146

Int[sec[(e_.) + (f_.)*(x_)]^(m_)*((a_) + (b_.)*sec[(e_.) + (f_.)*(x_)]^(n_))^(p_), x_Symbol] :> With[{ff = Fre
eFactors[Tan[e + f*x], x]}, Dist[ff/f, Subst[Int[(1 + ff^2*x^2)^(m/2 - 1)*ExpandToSum[a + b*(1 + ff^2*x^2)^(n/
2), x]^p, x], x, Tan[e + f*x]/ff], x]] /; FreeQ[{a, b, e, f, p}, x] && IntegerQ[m/2] && IntegerQ[n/2]

Rubi steps

\begin {align*} \int \frac {\sec ^4(e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{5/2}} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {1+x^2}{\left (a+b+b x^2\right )^{5/2}} \, dx,x,\tan (e+f x)\right )}{f}\\ &=\frac {\sec ^2(e+f x) \tan (e+f x)}{3 (a+b) f \left (a+b+b \tan ^2(e+f x)\right )^{3/2}}+\frac {2 \operatorname {Subst}\left (\int \frac {1}{\left (a+b+b x^2\right )^{3/2}} \, dx,x,\tan (e+f x)\right )}{3 (a+b) f}\\ &=\frac {\sec ^2(e+f x) \tan (e+f x)}{3 (a+b) f \left (a+b+b \tan ^2(e+f x)\right )^{3/2}}+\frac {2 \tan (e+f x)}{3 (a+b)^2 f \sqrt {a+b+b \tan ^2(e+f x)}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 4.30, size = 74, normalized size = 0.94 \[ \frac {\tan (e+f x) \sec ^4(e+f x) (a \cos (2 (e+f x))+a+2 b) (a \cos (2 (e+f x))+2 a+3 b)}{6 f (a+b)^2 \left (a+b \sec ^2(e+f x)\right )^{5/2}} \]

Antiderivative was successfully verified.

[In]

Integrate[Sec[e + f*x]^4/(a + b*Sec[e + f*x]^2)^(5/2),x]

[Out]

((a + 2*b + a*Cos[2*(e + f*x)])*(2*a + 3*b + a*Cos[2*(e + f*x)])*Sec[e + f*x]^4*Tan[e + f*x])/(6*(a + b)^2*f*(
a + b*Sec[e + f*x]^2)^(5/2))

________________________________________________________________________________________

fricas [A]  time = 0.86, size = 134, normalized size = 1.70 \[ \frac {{\left (2 \, a \cos \left (f x + e\right )^{3} + {\left (a + 3 \, b\right )} \cos \left (f x + e\right )\right )} \sqrt {\frac {a \cos \left (f x + e\right )^{2} + b}{\cos \left (f x + e\right )^{2}}} \sin \left (f x + e\right )}{3 \, {\left ({\left (a^{4} + 2 \, a^{3} b + a^{2} b^{2}\right )} f \cos \left (f x + e\right )^{4} + 2 \, {\left (a^{3} b + 2 \, a^{2} b^{2} + a b^{3}\right )} f \cos \left (f x + e\right )^{2} + {\left (a^{2} b^{2} + 2 \, a b^{3} + b^{4}\right )} f\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(f*x+e)^4/(a+b*sec(f*x+e)^2)^(5/2),x, algorithm="fricas")

[Out]

1/3*(2*a*cos(f*x + e)^3 + (a + 3*b)*cos(f*x + e))*sqrt((a*cos(f*x + e)^2 + b)/cos(f*x + e)^2)*sin(f*x + e)/((a
^4 + 2*a^3*b + a^2*b^2)*f*cos(f*x + e)^4 + 2*(a^3*b + 2*a^2*b^2 + a*b^3)*f*cos(f*x + e)^2 + (a^2*b^2 + 2*a*b^3
 + b^4)*f)

________________________________________________________________________________________

giac [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: NotImplementedError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(f*x+e)^4/(a+b*sec(f*x+e)^2)^(5/2),x, algorithm="giac")

[Out]

Exception raised: NotImplementedError >> Unable to parse Giac output: Unable to check sign: (4*pi/x/2)>(-4*pi/
x/2)Unable to check sign: (4*pi/x/2)>(-4*pi/x/2)Unable to check sign: (4*pi/x/2)>(-4*pi/x/2)Unable to check si
gn: (4*pi/x/2)>(-4*pi/x/2)Unable to check sign: (4*pi/x/2)>(-4*pi/x/2)Unable to check sign: (4*pi/x/2)>(-4*pi/
x/2)Unable to check sign: (4*pi/x/2)>(-4*pi/x/2)Unable to check sign: (4*pi/x/2)>(-4*pi/x/2)Unable to check si
gn: (4*pi/x/2)>(-4*pi/x/2)2/f*2*tan((f*x+exp(1))/2)*(tan((f*x+exp(1))/2)^2*(-tan((f*x+exp(1))/2)^2*(1327104*a^
4*b^6*sign(tan((f*x+exp(1))/2)^2-1)+2654208*a^5*b^5*sign(tan((f*x+exp(1))/2)^2-1)+1327104*a^6*b^4*sign(tan((f*
x+exp(1))/2)^2-1))/(2654208*a^4*b^7+7962624*a^5*b^6+7962624*a^6*b^5+2654208*a^7*b^4)-(2654208*a^4*b^6*sign(tan
((f*x+exp(1))/2)^2-1)+1769472*a^5*b^5*sign(tan((f*x+exp(1))/2)^2-1)-884736*a^6*b^4*sign(tan((f*x+exp(1))/2)^2-
1))/(2654208*a^4*b^7+7962624*a^5*b^6+7962624*a^6*b^5+2654208*a^7*b^4))-(1327104*a^4*b^6*sign(tan((f*x+exp(1))/
2)^2-1)+2654208*a^5*b^5*sign(tan((f*x+exp(1))/2)^2-1)+1327104*a^6*b^4*sign(tan((f*x+exp(1))/2)^2-1))/(2654208*
a^4*b^7+7962624*a^5*b^6+7962624*a^6*b^5+2654208*a^7*b^4))/sqrt(a*tan((f*x+exp(1))/2)^4+b*tan((f*x+exp(1))/2)^4
-2*a*tan((f*x+exp(1))/2)^2+2*b*tan((f*x+exp(1))/2)^2+a+b)/(a*tan((f*x+exp(1))/2)^4+b*tan((f*x+exp(1))/2)^4-2*a
*tan((f*x+exp(1))/2)^2+2*b*tan((f*x+exp(1))/2)^2+a+b)

________________________________________________________________________________________

maple [A]  time = 1.96, size = 76, normalized size = 0.96 \[ \frac {\sin \left (f x +e \right ) \left (b +a \left (\cos ^{2}\left (f x +e \right )\right )\right ) \left (2 a \left (\cos ^{2}\left (f x +e \right )\right )+a +3 b \right )}{3 f \cos \left (f x +e \right )^{5} \left (\frac {b +a \left (\cos ^{2}\left (f x +e \right )\right )}{\cos \left (f x +e \right )^{2}}\right )^{\frac {5}{2}} \left (a +b \right )^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sec(f*x+e)^4/(a+b*sec(f*x+e)^2)^(5/2),x)

[Out]

1/3/f*sin(f*x+e)*(b+a*cos(f*x+e)^2)*(2*a*cos(f*x+e)^2+a+3*b)/cos(f*x+e)^5/((b+a*cos(f*x+e)^2)/cos(f*x+e)^2)^(5
/2)/(a+b)^2

________________________________________________________________________________________

maxima [A]  time = 0.36, size = 117, normalized size = 1.48 \[ \frac {\frac {2 \, \tan \left (f x + e\right )}{\sqrt {b \tan \left (f x + e\right )^{2} + a + b} {\left (a + b\right )}^{2}} + \frac {\tan \left (f x + e\right )}{{\left (b \tan \left (f x + e\right )^{2} + a + b\right )}^{\frac {3}{2}} {\left (a + b\right )}} - \frac {\tan \left (f x + e\right )}{{\left (b \tan \left (f x + e\right )^{2} + a + b\right )}^{\frac {3}{2}} b} + \frac {\tan \left (f x + e\right )}{\sqrt {b \tan \left (f x + e\right )^{2} + a + b} {\left (a + b\right )} b}}{3 \, f} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(f*x+e)^4/(a+b*sec(f*x+e)^2)^(5/2),x, algorithm="maxima")

[Out]

1/3*(2*tan(f*x + e)/(sqrt(b*tan(f*x + e)^2 + a + b)*(a + b)^2) + tan(f*x + e)/((b*tan(f*x + e)^2 + a + b)^(3/2
)*(a + b)) - tan(f*x + e)/((b*tan(f*x + e)^2 + a + b)^(3/2)*b) + tan(f*x + e)/(sqrt(b*tan(f*x + e)^2 + a + b)*
(a + b)*b))/f

________________________________________________________________________________________

mupad [B]  time = 12.67, size = 153, normalized size = 1.94 \[ -\frac {2\,\left ({\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}-1\right )\,\sqrt {a+\frac {b}{{\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}}{2}\right )}^2}}\,\left (a\,1{}\mathrm {i}+a\,{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}\,4{}\mathrm {i}+a\,{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}\,1{}\mathrm {i}+b\,{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}\,6{}\mathrm {i}\right )}{3\,f\,{\left (a+b\right )}^2\,{\left (a+2\,a\,{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}+a\,{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}+4\,b\,{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}\right )}^2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(cos(e + f*x)^4*(a + b/cos(e + f*x)^2)^(5/2)),x)

[Out]

-(2*(exp(e*4i + f*x*4i) - 1)*(a + b/(exp(- e*1i - f*x*1i)/2 + exp(e*1i + f*x*1i)/2)^2)^(1/2)*(a*1i + a*exp(e*2
i + f*x*2i)*4i + a*exp(e*4i + f*x*4i)*1i + b*exp(e*2i + f*x*2i)*6i))/(3*f*(a + b)^2*(a + 2*a*exp(e*2i + f*x*2i
) + a*exp(e*4i + f*x*4i) + 4*b*exp(e*2i + f*x*2i))^2)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sec ^{4}{\left (e + f x \right )}}{\left (a + b \sec ^{2}{\left (e + f x \right )}\right )^{\frac {5}{2}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(f*x+e)**4/(a+b*sec(f*x+e)**2)**(5/2),x)

[Out]

Integral(sec(e + f*x)**4/(a + b*sec(e + f*x)**2)**(5/2), x)

________________________________________________________________________________________